/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import javax.swing.ImageIcon;

/**
 *
 * @author Jeppe
 */
public class Sandwich extends Produkt {

    public Sandwich(String titel, int pris, ImageIcon imgIcon, String beskrivelse, int rating) {
        super(titel, pris, imgIcon, beskrivelse, rating);
        setImgIcon(new ImageIcon(getClass().getResource("/images/sandwich/Sandwich.png")));
    }

    public Sandwich(int id, String titel, int pris, ImageIcon imgIcon, String beskrivelse, int rating) {
        super(id, titel, pris, imgIcon, beskrivelse, rating);
//        System.out.println("DER VAR EN SANDWICH!");
        setImgIcon(new ImageIcon(getClass().getResource("/images/sandwich/Sandwich.png")));
    }

}
